package com.nondo.rdp.auth.event;

import com.nondo.rdp.auth.domain.User;
import org.springframework.context.ApplicationEvent;

/**
 * 用户登录事件
 */
public class LoginApplicationEvent extends ApplicationEvent {
    private static final long serialVersionUID = 1L;
    private User user;

    public LoginApplicationEvent(Object source, User user) {
        super(source);
        this.user = user;
    }

    public User getUser() {
        return user;
    }
}
